<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        let a = [1, 2, 3, 4, 564, 64, 4564, 4654, 4564, 4, 321, 13];
        let b = Math.max(a);
        console.log(b)
        let c = Math.max(...a)
        console.log(c)
        let d = new Array(...a);
        console.log(d)
        let ab = function (x, y, z) {
            console.log(x)
            return x + y + z
        }
        let a1 = [555, 222, 333];
        console.log(ab(...a1))
        console.log(ab(a1))
    </script>

</body>

</html>